package com.eshop.modules.activity.service.dto;

import com.eshop.annotation.Query;

public class UserExtractQueryCriteria
{
    @Query(type = Query.Type.INNER_LIKE)
    private String realName;
    
    public String getRealName() {
        return this.realName;
    }
    
    public void setRealName(final String realName) {
        this.realName = realName;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserExtractQueryCriteria)) {
            return false;
        }
        final UserExtractQueryCriteria other = (UserExtractQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$realName = this.getRealName();
        final Object other$realName = other.getRealName();
        if (this$realName == null) {
            if (other$realName == null) {
                return true;
            }
        }
        else if (this$realName.equals(other$realName)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof UserExtractQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $realName = this.getRealName();
        result = result * 59 + (($realName == null) ? 43 : $realName.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "UserExtractQueryCriteria(realName=" + this.getRealName() + ")";
    }
}
